﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" 
CodeBehind="TeamNameChange.aspx.cs" Inherits="Nivdal.TeamNameChange" Theme="SkinFile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="TeamNameupdatePanel" runat="server" UpdateMode="Conditional">
    <ContentTemplate>    
        <div class="basic_element">
        <div class="red_title">
           <asp:Label ID="ChangeNamePossibleLabel" runat="server" CssClass="white_title"
         Text="<%$ Resources:Resource, ChangeTeamName_ChangeChangeNamePossible %>"></asp:Label>
        </div>
        <div class="padding5">

        
        
            <asp:Label ID="ChangeCostLabel" runat="server" SkinID="InfoLabel"></asp:Label>
            <asp:Image ID="AtuksImage" ToolTip="<%$ Resources:Resource, Atuks %>" ImageUrl="~/Images/Icons/atuk.png" runat="server" />
            <br />
            <asp:Label ID="ChangeTeamNameTitleLabel" runat="server" SkinID="InfoLabel"
             Text="<%$ Resources:Resource, ChangeTeamName_ChangeChooseTeamNameTitle %>"></asp:Label>
             <br />
            <asp:TextBox ID="TeamNameTextBox" runat="server" MaxLength="256" TextMode="SingleLine" Width="400"></asp:TextBox>
            
            <asp:UpdateProgress ID="TeamNameupdatePanelProgress" runat="server" AssociatedUpdatePanelID="TeamNameupdatePanel">
                <ProgressTemplate>
                    <div class="ajaxloader">
                        <asp:Image runat="server" ID="ProgressImage" ImageUrl="~/Images/ajax-loader.gif" />
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>
            
            <asp:Label ID="AvailabilityLabel" runat="server" Text="" SkinID="GridLabel"></asp:Label>
            <br />    
            <asp:Button ID="CheckAvailabilityButton" runat="server" CssClass="GreenSmallButtonStyle"
            Text="<%$ Resources:Resource, ChangeTeamName_CheckButtonText %>" OnClick="CheckAvailability" />
            <asp:Button ID="SubmitButton" runat="server" Text="<%$ Resources:Resource, Global_Submit %>"
             OnClick="SubmitNewName" Visible="false" CssClass="GreenSmallButtonStyle" />
             <br /><br />
            <asp:LinkButton ID="RenewButton" runat="server" Visible="false" SkinID="GreenTitleLink"
              OnClick="Renew" Text="<%$ Resources:Resource, ChangeTeamName_ChooseOtherName %>"/>
         
        </div>
        </div>
    </ContentTemplate>
    </asp:UpdatePanel>
    
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageNamePlaceHolder" runat="server">
    <asp:Label ID="PageNameLabel" runat="server" Text="<%$ Resources:Resource, ChangeTeamName_PageTitle %>" CssClass="PageNameContentStyle"></asp:Label>
</asp:Content>
